"""
    循环:求1~100之和
"""
num = 1
sum = 0
while num<=100:
    sum = sum+num
    num = num+1

print(sum)

"""
    循环数字判断大小
"""
count = 0
while count<5:
    print("count比5小")
    count = count+1
else:
    print("count比5大")
